home *** CD-ROM | disk | FTP | other *** search
/ Computer Inter@ctive 17 / Computer Interactive cdrom 17 - gen 99.iso / ZDNETIT / CONTENT / IMSWBPRO.ZIP / _setup.1 / AniTut.js < prev    next >
Encoding:
Text File  |  1998-11-02  |  3.2 KB  |  185 lines

  1. //<!-- 
  2. //***Virtual Mechanics IMS JavaScript. Project Title: aniTut
  3. mW = window.screen.width;
  4. mH = window.screen.height;
  5. //window.style.display = "none"; 
  6. mS = 1.0; 
  7. //mS = 0.64; 
  8. //if(mW > 0) mS = mW / 800;
  9.  
  10. totAtr = 3;
  11.  
  12. totEvt = 0;
  13.  
  14. totPath = 5;
  15. Gspt[1]=new Image();
  16. Gspt[1].src="../clipart/horiyell.gif";
  17. Gtyp[1] = 1;
  18. Glen[1] = mS*1168;
  19. Gszx[1]=mS*283;
  20. Gszy[1]=mS*9;
  21. Gorx[1]=mS*0;
  22. Gory[1]=mS*0;
  23. Gpxl[1] = new Array(); 
  24. Gpyl[1] = new Array(); 
  25. Gnpt[1] = 2;
  26. Gpxl[1][0]=mS*-283;
  27. Gpyl[1][0]=mS*-9;
  28. Gpxl[1][1]=mS*283;
  29. Gpyl[1][1]=mS*9;
  30. Gtyp[2] = 1;
  31. Glen[2] = mS*328;
  32. Gszx[2]=mS*70;
  33. Gszy[2]=mS*12;
  34. Gorx[2]=mS*0;
  35. Gory[2]=mS*0;
  36. Gpxl[2] = new Array(); 
  37. Gpyl[2] = new Array(); 
  38. Gnpt[2] = 2;
  39. Gpxl[2][0]=mS*-70;
  40. Gpyl[2][0]=mS*-12;
  41. Gpxl[2][1]=mS*70;
  42. Gpyl[2][1]=mS*12;
  43. Gtyp[3] = 1;
  44. Glen[3] = mS*3144;
  45. Gszx[3]=mS*500;
  46. Gszy[3]=mS*286;
  47. Gorx[3]=mS*0;
  48. Gory[3]=mS*0;
  49. Gpxl[3] = new Array(); 
  50. Gpyl[3] = new Array(); 
  51. Gnpt[3] = 2;
  52. Gpxl[3][0]=mS*-500;
  53. Gpyl[3][0]=mS*-286;
  54. Gpxl[3][1]=mS*500;
  55. Gpyl[3][1]=mS*286;
  56. Gtyp[4] = 2;
  57. Glen[4] = mS*360; 
  58. Gszx[4]=mS*50;
  59. Gszy[4]=mS*50;
  60. Gorx[4]=mS*0;
  61. Gory[4]=mS*0;
  62. Gpxl[4] = new Array(); 
  63. Gpyl[4] = new Array(); 
  64. Gnpt[4] = 2;
  65. Gpxl[4][0]=mS*-50; 
  66. Gpyl[4][0]=mS*-50; 
  67. Gpxl[4][1]=mS*100; 
  68. Gpyl[4][1]=mS*100; 
  69. Gspt[5]=new Image();
  70. Gspt[5].src="../clipart/bird1.gif";
  71. Gtyp[5] = 1;
  72. Glen[5] = mS*560;
  73. Gszx[5]=mS*80;
  74. Gszy[5]=mS*60;
  75. Gorx[5]=mS*0;
  76. Gory[5]=mS*0;
  77. Gpxl[5] = new Array(); 
  78. Gpyl[5] = new Array(); 
  79. Gnpt[5] = 2;
  80. Gpxl[5][0]=mS*-80;
  81. Gpyl[5][0]=mS*-60;
  82. Gpxl[5][1]=mS*80;
  83. Gpyl[5][1]=mS*60;
  84.  
  85. totAct = 2;
  86. MType[1]=67110912;
  87. MPath[1]=0;
  88. MRate[1]=25;
  89. MDelay[1]=0;
  90. MRepeat[1]=1;
  91. MCount[1]=1;
  92. MGWst[1]=0;
  93. MGNth[1]=0;
  94. MGEst[1]=0;
  95. MGSth[1]=0;
  96. MType[2]=16777473;
  97. MPath[2]=4;
  98. MRate[2]=6;
  99. MDelay[2]=0;
  100. MRepeat[2]=-1;
  101. MCount[2]=-1;
  102. MGWst[2]=0;
  103. MGNth[2]=0;
  104. MGEst[2]=0;
  105. MGSth[2]=0;
  106.  
  107. totObj = 5;
  108. obRef[1] = 1;
  109. ob[1] = new Array();
  110. ob[1].geo = 1;
  111. ob[1].att = 1; 
  112. ob[1].evt = 0;
  113. ob[1].act = 0;
  114. ob[1].grp = 0;
  115. ob[1].cpox =318.000000;
  116. ob[1].cpoy =121.000000;
  117. ob[1].cscx =1.000000;
  118. ob[1].cscy =1.000000;
  119. ob[1].crot =0.000000;
  120. ob[1].val  =0;
  121. ob[1].flg  =0;
  122.  
  123. obRef[2] = 2;
  124. ob[2] = new Array();
  125. ob[2].geo = 2;
  126. ob[2].att = 0;
  127. ob[2].evt = 0;
  128. ob[2].act = 1;
  129. ob[2].grp = 0;
  130. ob[2].cpox =183.000000;
  131. ob[2].cpoy =92.000000;
  132. ob[2].cscx =1.996914;
  133. ob[2].cscy =2.080000;
  134. ob[2].crot =0.000000;
  135. ob[2].val  =0;
  136. ob[2].flg  =32;
  137.  
  138. obRef[3] = 3;
  139. ob[3] = new Array();
  140. ob[3].geo = 3;
  141. ob[3].att = 0;
  142. ob[3].evt = 0;
  143. ob[3].act = 0;
  144. ob[3].grp = 0;
  145. ob[3].cpox =323.000000;
  146. ob[3].cpoy =500.000000;
  147. ob[3].cscx =0.565982;
  148. ob[3].cscy =1.245105;
  149. ob[3].crot =0.000000;
  150. ob[3].val  =0;
  151. ob[3].flg  =0;
  152.  
  153. obRef[4] = 4;
  154. ob[4] = new Array();
  155. ob[4].geo = 4;
  156. ob[4].att = 3; 
  157. ob[4].evt = 0;
  158. ob[4].act = 0;
  159. ob[4].grp = 0;
  160. ob[4].cpox =196.000000;
  161. ob[4].cpoy =90.000000;
  162. ob[4].cscx =3.704274;
  163. ob[4].cscy =1.000000;
  164. ob[4].crot =0.000000;
  165. ob[4].val  =0;
  166. ob[4].flg  =0;
  167.  
  168. obRef[5] = 5;
  169. ob[5] = new Array();
  170. ob[5].geo = 5;
  171. ob[5].att = 2; 
  172. ob[5].evt = 0;
  173. ob[5].act = 2;
  174. ob[5].grp = 0;
  175. ob[5].cpox =401.000000;
  176. ob[5].cpoy =100.000000;
  177. ob[5].cscx =0.285714;
  178. ob[5].cscy =0.276800;
  179. ob[5].crot =0.000000;
  180. ob[5].val  =0;
  181. ob[5].flg  =0;
  182.  
  183.  
  184. //--> 
  185.